//
//  MainTabBar.h
//  TooToo
//  底部导航    莫浩
//  Created by 张宇驰 on 13-7-23.
//  Copyright (c) 2013年 appfactory. All rights reserved.
//
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, MainTabBarItem)
{
    MainTabBarItemHome = 100,           //首页
    MainTabBarItemUserCenter            //我的
};

@protocol MainTabBarDelegate;


@interface MainTabBar : UIView

@property(nonatomic, assign) id<MainTabBarDelegate> delegate;
@property(nonatomic) MainTabBarItem currentSelected;

@end


@protocol MainTabBarDelegate <NSObject>

@optional
-(void)mainTabBar:(MainTabBar *)mainTabBar selectItem:(MainTabBarItem)item;

@end
